﻿@using VirtualPress.Infrastructure.Entities.Entity;
@{Periodical data = ViewBag.Journal;}
@{
    ViewBag.Title = "编委会 —— " + data == null ? "" : data.Name;
    Layout = "/Areas/WorkSpace/Views/Shared/_WorkSpace.cshtml";
}

<div id="content-header">
    <h1>
        编委会</h1>
</div>
<div id="breadcrumb">
    <a href="/WorkSpace/Home" class="tip-bottom"><i class="icon-home"></i>起始页</a>
        <a class="current">编委会</a>
</div>
<div class="container-fluid">
    <div class="row-fluid">
        <div class="span12">
            <div class="widget-box">
                <div class="widget-title">
                    <span class="icon"><i class="icon-pencil"></i></span>
                    <h5>
                        编委会</h5>
                    <h5 style="float:right;color:Red;">*为必填</h5>
                </div>
                <div class="widget-content nopadding">
                    <form class="form-horizontal" method="post" enctype="multipart/form-data" action="/WorkSpace/magazine/AttentionEdit">
                    <input type="hidden" name="Id" value="@data.Id" />
                    <div id="form-wizard-1" class="step">
                        <div class="control-group">
                            <label class="control-label">
                                期刊名称 </label>
                            <div class="controls">
                                <input id="name" readonly="readonly" type="text" name="Name" value="@data.Name" />
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">
                                编委会 </label>
                            <div class="controls">
                            <script name="Attention" id="editor" type="text/plain">@Html.Raw(data.Attention)</script>
                               @* <textarea cols="10" rows="20"></textarea>*@
                            </div>
                        </div>
                    </div>
                    <div class="form-actions">
                        <a class="btn btn-primary" href="/workspace/home/index">返回</a>
                        <input id="next" class="btn btn-primary" type="submit" value="保存" />
                    </div>
                    <div id="submitted">
                    </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
@section tail
{
    <script type="text/javascript" charset="utf-8" src="/Scripts/UEditor/editor_config.js"></script>
    <script type="text/javascript" charset="utf-8" src="/Scripts/UEditor/editor_all_min.js"></script>
    <script type="text/javascript">
        $(function () {
            $('#likjournalmanage').addClass('open active');
        });
        UE.getEditor('editor');
    </script>
}
